package com.example.luyang7415445.ly_15716test;

import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;

public class Main2Activity extends Activity {

    MyView my;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main2);
        my = (MyView) findViewById(R.id.mv);
        my.setExampleString("北京欢迎你");
        my.setExampleDrawable(getResources().getDrawable(R.mipmap.upload1));
    }
}
